package com.yjh.admin.config.data;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 * 用户库
 *
 * @author Lynch
 *
 */
@Configuration
@ConfigurationProperties(prefix = "sys-user.db")
@Data
public class SlaveDataSourceConfig {
    @Value("${sys-user.db.url}")
    private String url;
    @Value("${sys-user.db.username}")
    private String username;
    @Value("${sys-user.db.password}")
    private String password;
    @Value("${sys-user.db.driverClassName}")
    private String driverClassName;
}
